package org.luxor.cloud.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 方式一：采用[@EnableConfigurationProperties引入Properties]实现自动配置更新
 *
 * @author Mr.Yan  @date: 2020/9/1
 */
@Data
@ConfigurationProperties(prefix = ExampleCloudProperties.PREFIX)
public class ExampleCloudProperties {
    public static final String PREFIX = "config.refresh-properties";

    private boolean enabled;

}
